package com.pulanit.pangu.admin.business.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 问题反馈
 * </p>
 *
 * @author 天鸣
 * @since 2024-03-04
 */
@Getter
@Setter
@TableName("issue")
public class Issue implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 反馈用户
     */
    @TableField("issue_user_id")
    private Long issueUserId;

    /**
     * 问题标题
     */
    @TableField("issue_title")
    private String issueTitle;

    /**
     * 问题描述
     */
    @TableField("issue_content")
    private String issueContent;

    /**
     * 创建时间
     */
    @TableField("create_date")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createDate;

    /**
     * 联系方式
     */
    @TableField("phone_number")
    private String phoneNumber;

    /**
     * 是否处理（0未处理，1已处理）
     */
    @TableField("status")
    private Boolean status;

    /**
     * 逻辑删除标识
     */
    @TableField("deleted")
    private Boolean deleted;
}
